package sjtu.ist.warehouse4ws.model;



/**
 * CustProcess entity. @author MyEclipse Persistence Tools
 */

public class CustProcess extends Process  implements java.io.Serializable {


	// Fields

	private String id;
	private String enName;
	private String cnName;
	private String description;
	private String fileId;
	private String groupId;
	private String versionId;
    private String uid;
	// Constructors

	/** default constructor */
	public CustProcess() {
	}

	/** minimal constructor */
	public CustProcess(String id) {
		this.id = id;
	}

	/** full constructor */
	public CustProcess(String id, String enName, String cnName, String description,
			String fileId, String groupId, String versionId,String uid) {
		this.id = id;
		this.enName = enName;
		this.cnName = cnName;
		this.description = description;
		this.fileId = fileId;
		this.groupId = groupId;
		this.versionId = versionId;
		this.uid=uid;
	}
	
	public CustProcess(Process p){
		this.id = p.getId();
		this.enName = p.getEnName();
		this.cnName = p.getCnName();
		this.description = p.getDescription();
		this.fileId = p.getFileId();
		this.groupId = p.getGroupId();
		this.versionId = p.getVersionId();
		this.uid=p.getUid();
	}

	// Property accessors

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getEnName() {
		return this.enName;
	}

	public void setEnName(String enName) {
		this.enName = enName;
	}

	public String getCnName() {
		return this.cnName;
	}

	public void setCnName(String cnName) {
		this.cnName = cnName;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getFileId() {
		return this.fileId;
	}

	public void setFileId(String fileId) {
		this.fileId = fileId;
	}

	public String getGroupId() {
		return this.groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	public String getVersionId() {
		return this.versionId;
	}

	public void setVersionId(String versionId) {
		this.versionId = versionId;
	}

	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}


}